package com.project.grenting.service.statistics.impl;

import com.project.grenting.dao.statistics.StatisticsDao;
import com.project.grenting.pojo.RoleFunctionStatistic;
import com.project.grenting.service.statistics.StatisticsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class StatisticsServiceImpl implements StatisticsService {

    @Resource
    private StatisticsDao statisticsDao ;

    @Override
    public List<RoleFunctionStatistic> getRoleFunctionCount() {
        return statisticsDao.getRoleFunctionCount();
    }
}
